home *** CD-ROM | disk | FTP | other *** search
-
-
-
- Dir(V1.3, 2.x/3.x) (located in the C: directory)
-
-
-
- NAME
- Dir - Pretty display of files and directories.
-
- SYNOPSIS
- DIR Dir OPT [ADFHIS] SIZE INTER HILITE FILES DIRS ALL
-
- DESCRIPTION
- Dir by itself displays any files and directories in
- the current directory. By default, Dir will display any
- subdirectories, one per line, and then any files, in two
- columns, in sorted order. Directories are followed by
- the string "(dir)".
-
- You can specify an alternate directory to display as
- an argument, and you may also use wildcards. If you use
- wildcards, Dir will display all files that match that
- wildcard pattern. If it encounters a directory during
- the course of its search for matching patterns, it will
- display the name of the directory, and also its contents.
-
- OPTIONS
- OPT
- This flag along with a single letter can represent
- the option you desire, or you may use the clearer keyword
- equivalents supplied. The options and their keyword
- equivalents are described below:
-
- SIZE or OPT S
- This ARP option displays the names of the files and
- their sizes in two columns on the display device. If a
- directory is encountered, it is identified as usual with
- a "(dir)".
-
- HILITE or OPT H
- This ARP option enables pretty printing of Dirs
- output. All directory names will be displayed in inverse
- video.
-
- FILES or OPT F
- This displays only files, any directories found will
- will not be displayed.
-
- DIRS or OPT D
- This displays only directories, any files found will
- not be displayed.
-
- ALL or Opt A
- This option displays the complete contents of that
- branch of the directory tree. As Dir descends a level,
- the indentation is increased to make the organization of
- the disk clearer to the eye. You may use some of the
- other options or keywords along with ALL to generate the
- display you need.
-
- INTER or OPT I
- This allows interactive file browsing through a
- directory or a disk. Using this option, you will be
- presented with a file or directory name, followed by a
- question mark. You can find out what additional options
- are available to you at this point by typing another
- question mark '?', and pressing return. These are:
-
- B=BACK
- Moves backwards, up the directory tree. If you are
- at the top, this will exit the listing.
-
- DEL=DELETE
- This will delete the current file.
-
- E=ENTER
- This will enter a directory. Note that you must be
- at a directory entry in order for this option to be
- valid.
-
- Q=QUIT
- This will quit Dir.
-
- T=TYPE
- This will type the current file.
-
- C=COM
- This takes any command as an argument, and sends it
- to a subshell. Any shell command can be used here,
- including the IO Redirection operators (<, >, and >>).
- If you do not specify a command as an argument, you will
- be prompted for one.
-
- EXAMPLES
- 1. To get a listing of all directories on drive DF1:
-
- DIR DF1: ALL DIRS
- or
- DIR DF1: OPT AD
-
- 2. To get a listing of all directories and files and
- the sizes of the files on drive df0:, as well as
- displaying the directories in inverse video do:
-
- DIR DF1: ALL SIZES HILITE
- or
- DF1: OPT ASH
-